package com.example.droideep.common.view;

import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.ColorDrawable;
import android.view.View;

import droideep.library.widget.BasePopupWindow;

import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;

/**
 * Created by bri on 15-4-23.
 */
public abstract class DropDownPopup extends BasePopupWindow {

    public DropDownPopup(View contentView) {
        super(contentView);

        setWidth(MATCH_PARENT);
        setHeight(MATCH_PARENT);

        setFocusable(true);
        setTouchable(true);
        setOutsideTouchable(false);
//        setAnimationStyle(droideep.library.R.style.Popup_Animation_Alpha);
        setBackgroundDrawable(new ColorDrawable());
        initViews();
        initEvents();
        init();

    }

}
